using System.Reflection;

namespace RedRiver.Framework.XtraCommon.FastReflection{
    public class PropertyAccessorFactory : IFastReflectionFactory<PropertyInfo, IPropertyAccessor>{
        #region IFastReflectionFactory<PropertyInfo,IPropertyAccessor> Members

        IPropertyAccessor IFastReflectionFactory<PropertyInfo, IPropertyAccessor>.Create(PropertyInfo key){
            return Create(key);
        }

        #endregion

        public IPropertyAccessor Create(PropertyInfo key){
            return new PropertyAccessor(key);
        }
    }
}